package com.chengww.grab_rp.database.redpocket

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * Created by chengww on 2/20/21
 * @author chengww
 */
@Entity(tableName = "red_pocket")
data class RedPocket(
    val rpSn: String,
    val teamId: String,
    val amount: Int,
    val teamName: String,
    var success: Boolean,
    @PrimaryKey(autoGenerate = true)
    val id: Long? = null,
    val time: Long = System.currentTimeMillis()
)